package com.xbongbong.saas.domain.entity.ext;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import lombok.Getter;
import lombok.Setter;

/**
 * 产品实体扩展类
 *
 * @author chaoxiong.lei
 * @date 19:56 2019/1/29
 * @since v1.0
 **/
@Setter
@Getter
public class ProductEntityExt extends PaasFormDataEntityExt {

    private static final long serialVersionUID = -3215102514095881548L;

    private String operate;

    private JSONArray childProductWarehouseArray;

    /**
     * 单位成本,现在只有成本更新入口
     */
    private Double cost;
    /**
     * 总成本
     */
    private Double totalCost;

    /**
     * 是否更新成本
     */
    private Boolean updateCost;

    /**
     * 库存，没办法了，当前只用于多规格产品编辑添加全仓预警
     */
    private Double num;
}
